home *** CD-ROM | disk | FTP | other *** search
- Path: lrz-muenchen.de!news
- From: watzka@stat.uni-muenchen.de (Kurt Watzka)
- Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c
- Subject: Re: How do I link a library to my program??
- Date: 7 Mar 1996 11:48:48 GMT
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- Distribution: world
- Message-ID: <4hmif0$kff@sparcserver.lrz-muenchen.de>
- References: <313d3c58.4431866@news.csus.edu> <4hkj89$iql@nnrp1.news.primenet.com> <313E7F15.FF6D5DF@fnx.com.au>
- NNTP-Posting-Host: sun2.lrz-muenchen.de
-
- Kiran Muglurmath <kiranm@fnx.com.au> writes:
-
- >> In article <313d3c58.4431866@news.csus.edu>, wleong@sfsu.edu says...
- >> >
- >> > I have been given a library file (winsock.lib) which contains
- >> >routines that I need to use in my program. But even if I include it
- >> >in my project file, linker still couldn't find the routines in the
- >> >lib. Somehow I am under the impression that I need to call certain
- >> >functions in my progam in order to load the library into the module.
-
- >If the library in question is an import library for a DLL, then you must
- >also set the link flag to Dynamic linking in TargetExpert. If it is set
- >to Static linking, you will see the same symptoms you described.
-
- Neither our Watcom 10.5 nor the brand new Visual C++ 4.0 compilers
- have a TargetExpert. Have I missed a significant extension to the
- definition of the C programming language, or is this answer limited
- to a special implementation that the original poster may or may not
- have?
-
- If you post "solutions" that are limited to _one_ implementation
- of a language, at least say so in your "answer".
-
- Kurt
- --
- | Kurt Watzka Phone : +49-89-2180-6254
- | watzka@stat.uni-muenchen.de
- | ua302aa@sunmail.lrz-muenchen.de
-